package user_interface.dodaj_slowka.widok;

import user_interface.dodaj_slowka.model.WordTableModel;

import javax.swing.*;

/**
 * Created with IntelliJ IDEA by:
 * User: dkucha
 * Date: 17.12.13
 */
public class DolnyPanel extends JPanel {

    private JTable table;

    public DolnyPanel() {
        WordTableModel tableModel = new WordTableModel();
        table = new JTable(tableModel);
        JScrollPane scrollPane = new JScrollPane(table);

        add(scrollPane);
    }

    public JTable getTable() {
        return table;
    }
}
